Optimal. Leaf size=148 \[ -\frac {3 (5 A+2 C) \sin (c+d x) (b \cos (c+d x))^{2/3} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right )}{10 d \sqrt {\sin ^2(c+d x)}}-\frac {3 B \sin (c+d x) (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {11}{6};\cos ^2(c+d x)\right )}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \sin (c+d x) (b \cos (c+d x))^{2/3}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {16, 3023, 2748, 2643} \[ -\frac {3 (5 A+2 C) \sin (c+d x) (b \cos (c+d x))^{2/3} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right )}{10 d \sqrt {\sin ^2(c+d x)}}-\frac {3 B \sin (c+d x) (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {11}{6};\cos ^2(c+d x)\right )}{5 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \sin (c+d x) (b \cos (c+d x))^{2/3}}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 2748
Rule 3023
Rubi steps
\begin {align*} \int (b \cos (c+d x))^{2/3} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec (c+d x) \, dx &=b \int \frac {A+B \cos (c+d x)+C \cos ^2(c+d x)}{\sqrt [3]{b \cos (c+d x)}} \, dx\\ &=\frac {3 C (b \cos (c+d x))^{2/3} \sin (c+d x)}{5 d}+\frac {3}{5} \int \frac {\frac {1}{3} b (5 A+2 C)+\frac {5}{3} b B \cos (c+d x)}{\sqrt [3]{b \cos (c+d x)}} \, dx\\ &=\frac {3 C (b \cos (c+d x))^{2/3} \sin (c+d x)}{5 d}+B \int (b \cos (c+d x))^{2/3} \, dx+\frac {1}{5} (b (5 A+2 C)) \int \frac {1}{\sqrt [3]{b \cos (c+d x)}} \, dx\\ &=\frac {3 C (b \cos (c+d x))^{2/3} \sin (c+d x)}{5 d}-\frac {3 (5 A+2 C) (b \cos (c+d x))^{2/3} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right ) \sin (c+d x)}{10 d \sqrt {\sin ^2(c+d x)}}-\frac {3 B (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {11}{6};\cos ^2(c+d x)\right ) \sin (c+d x)}{5 b d \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 109, normalized size = 0.74 \[ -\frac {3 b \sin (2 (c+d x)) \left ((5 A+2 C) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right )+2 B \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {11}{6};\cos ^2(c+d x)\right )-2 C \sqrt {\sin ^2(c+d x)}\right )}{20 d \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.58, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.53, size = 0, normalized size = 0.00 \[ \int \left (b \cos \left (d x +c \right )\right )^{\frac {2}{3}} \left (A +B \cos \left (d x +c \right )+C \left (\cos ^{2}\left (d x +c \right )\right )\right ) \sec \left (d x +c \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}} \sec \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (b\,\cos \left (c+d\,x\right )\right )}^{2/3}\,\left (C\,{\cos \left (c+d\,x\right )}^2+B\,\cos \left (c+d\,x\right )+A\right )}{\cos \left (c+d\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________